﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebUtils.Models
{

    /// <summary>
    /// Represents schema formats - SQL, table from phpMyAdmin
    /// </summary>
    public class SchemaFormat
    {

        public int Id { get; set; }

        public string Name { get; set; }

        public override string ToString()
        {
            return Name;
        }

        public static IList<SchemaFormat> Items
        {
            get
            {
                return new List<SchemaFormat>
                {
                    new SchemaFormat{ Id = 1, Name = "SQL create table" },
                    new SchemaFormat{ Id = 2, Name = "Structure from phpMyAdmin" }
                };
            }
        }

    }
}
